﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;
using DAO;
using DTO;
using Banking.Member;
namespace Banking.Nhân_viên
{
    public partial class ThongTinTaiKhoanThe : Form
    {
        int _maTKThe;
        TypeDemo _type;
        public ThongTinTaiKhoanThe(int maTKThe,TypeDemo type)
        {
            InitializeComponent();
            _maTKThe = maTKThe;
            _type = type;
        }

        private void ThongTinTaiKhoanThe_Load(object sender, EventArgs e)
        {
            
            pnMain.Controls.Clear();
            ThongTinTaiKhoanCaNhan thongTinTKThe;
            thongTinTKThe = new ThongTinTaiKhoanCaNhan();
            thongTinTKThe.Load(_maTKThe, _type);
            thongTinTKThe.btnRutTien.Visible = true;
            pnMain.Controls.Add(thongTinTKThe);
        }
     
    }
}
